package org.ccay.core.test.mock.jms;

import javax.jms.Connection;
import javax.jms.ConnectionFactory;
import javax.jms.JMSException;

/**
 * A stub implementation of the JMS ConnectionFactory for testing.
 */
public class MockConnectionFactory implements ConnectionFactory {
	public Connection createConnection() throws JMSException {
		return new MockConnection();
	}

	public Connection createConnection(String arg0, String arg1)
			throws JMSException {
		return null;
	}

}
